package UMC.Web;

public class UICommentDialog extends UIDialog {

    @Override
    protected String type() {
        return "Comment";
    }

    /*
     * 开启图片上传
     */
    public UICommentDialog picture(boolean value) {

        if (value) {
            this.config.put("IsPicture", true);
        } else {

            this.config.remove("IsPicture");
        }

        return this;
    }

    /*
     * 底部提示
     */
    public void bottomText(String text) {
        this.config.put("BottomText", text);
    }

}
